WPDeveloper\BetterDocs\Core\Rewrite S

Total Complexity 44
Dependencies 3
Dependents 3
Total lines 304
Lines of code 204
Logical lines of code 121
Comment lines 48
Methods 14
Properties 2

Methods 14

Method Rating Maintainability Complexity Lines of code
save_permalink_structure()
A
52 12 24
permalink_structure()
A
49 7 35
normalzie_doc_perma_structure()
S
51 4 28
rules()
S
49 3 33
get_base_slug()
S
61 4 11
handle_pagination_redirect()
S
62 3 12
docs_type_rewrite()
S
58 2 16
make_regex()
S
64 2 10
make_query()
S
64 2 9
__construct()
S
77 1 4
init()
S
71 1 5
remove_knowledge_base_placeholder()
S
64 1 10
hierarchy_based_slug_switch()
S
75 1 4
add_rewrite_rule()
S
79 1 3